package com.echo.code.thread.lock.helper;

import com.echo.code.thread.lock.Lock;

/**
 * ReadWriteLockHelper Created by baiyap on 2018/9/24.
 */
public interface ReadWriteLockHelper {

  Lock readLock();

  Lock writeLock();

  int getWritingWriters();

  int getWaitingWriters();

  int getReadingReaders();
}
